package com.lt.bcra.service;

import com.lt.bcra.entity.BcraCategory;
import com.baomidou.mybatisplus.extension.service.IService;
import com.lt.bcra.result.ResultData;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author LuoTian
 * @since 2022-05-30
 */
public interface BcraCategoryService extends IService<BcraCategory> {
    /**
     * 字典种类表删除，对应细节也全部删除
     * @param id
     * @return
     */
    ResultData deleteCategory(Integer id);

    /**
     * 创建字典种类表
     * @param bcraCategory
     * @return
     */
    ResultData saveCategory(BcraCategory bcraCategory);
}
